package com.neuedu.service.impl;

import com.neuedu.dao.RegisteredLevelDao;
import com.neuedu.dao.UserCategoryDao;
import com.neuedu.factory.ClassFactory;
import com.neuedu.service.RegisteredLevelService;

import java.util.List;
import java.util.Map;

public class RegisteredLevelServiceImpl implements RegisteredLevelService {
    @Override
    public List<Map<String, Object>> getAllRegisteredLevel() {
        RegisteredLevelDao dcd = (RegisteredLevelDao) ClassFactory.createObj("RegisteredLevelDao");
        String sql = "SELECT * FROM registeredlevel";
        return dcd.getAllRegisteredLevel(sql);
    }
}
